package com.mask.collections;

import java.io.*;
import java.text.BreakIterator;

/**
 * ClassName MapDemo
 * Create by hx
 * Date 2021/9/15 11:17 上午
 */

public class MapDemo {
    public static void main(String[] args) throws IOException {
        String read;
        String[] readStr = new String[100];
        File file = new File("/Users/hx/Desktop/englishArticle.txt");
        FileReader fileReader = new FileReader(file);
        BufferedReader br = new BufferedReader(fileReader);
        while ((read = br.readLine()) != null){
             readStr = read.split(".|");
        }
        fileReader.close();
        br.close();
        for (String item : readStr){
            System.out.print(item + " ");
        }


    }
}
